package com.hs.jhzd.entity;

import javax.persistence.*;
import java.sql.Date;
import java.util.Objects;

/**
 * @author guoxc
 * @date 2019/03/04
 **/
@Entity
@Table(name = "hq_rycdxxb")
public class HqRycdxxbEntity {
    private String zybh;
    private Boolean scbj;
    private Date cjsj;
    private Date sjc;
    private Date rq;
    private String xq;
    private String zc;
    private String wc;
    private String wf;
    private String syfw;
    private String bz;
    private String sydx;
//    private String jsbh;

    @Id
    @Column(name = "ZYBH")
    public String getZybh() {
        return zybh;
    }

    public void setZybh(String zybh) {
        this.zybh = zybh;
    }

    @Basic
    @Column(name = "SCBJ")
    public Boolean getScbj() {
        return scbj;
    }

    public void setScbj(Boolean scbj) {
        this.scbj = scbj;
    }

    @Basic
    @Column(name = "CJSJ")
    public Date getCjsj() {
        return cjsj;
    }

    public void setCjsj(Date cjsj) {
        this.cjsj = cjsj;
    }

    @Basic
    @Column(name = "SJC")
    public Date getSjc() {
        return sjc;
    }

    public void setSjc(Date sjc) {
        this.sjc = sjc;
    }

    @Basic
    @Column(name = "RQ")
    public Date getRq() {
        return rq;
    }

    public void setRq(Date rq) {
        this.rq = rq;
    }

    @Basic
    @Column(name = "XQ")
    public String getXq() {
        return xq;
    }

    public void setXq(String xq) {
        this.xq = xq;
    }

    @Basic
    @Column(name = "ZC")
    public String getZc() {
        return zc;
    }

    public void setZc(String zc) {
        this.zc = zc;
    }

    @Basic
    @Column(name = "WC")
    public String getWc() {
        return wc;
    }

    public void setWc(String wc) {
        this.wc = wc;
    }

    @Basic
    @Column(name = "WF")
    public String getWf() {
        return wf;
    }

    public void setWf(String wf) {
        this.wf = wf;
    }

    @Basic
    @Column(name = "SYFW")
    public String getSyfw() {
        return syfw;
    }

    public void setSyfw(String syfw) {
        this.syfw = syfw;
    }

    @Basic
    @Column(name = "BZ")
    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    @Basic
    @Column(name = "SYDX")
    public String getSydx() {
        return sydx;
    }

    public void setSydx(String sydx) {
        this.sydx = sydx;
    }
//
//    @Basic
//    @Column(name = "JSBH")
//    public String getJsbh() {
//        return jsbh;
//    }
//
//    public void setJsbh(String jsbh) {
//        this.jsbh = jsbh;
//    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        HqRycdxxbEntity that = (HqRycdxxbEntity) o;
        return Objects.equals(zybh, that.zybh) &&
                Objects.equals(scbj, that.scbj) &&
                Objects.equals(cjsj, that.cjsj) &&
                Objects.equals(sjc, that.sjc) &&
                Objects.equals(rq, that.rq) &&
                Objects.equals(xq, that.xq) &&
                Objects.equals(zc, that.zc) &&
                Objects.equals(wc, that.wc) &&
                Objects.equals(wf, that.wf) &&
                Objects.equals(syfw, that.syfw) &&
                Objects.equals(bz, that.bz) &&
                Objects.equals(sydx, that.sydx);
    }

    @Override
    public int hashCode() {
        return Objects.hash(zybh, scbj, cjsj, sjc, rq, xq, zc, wc, wf, syfw, bz, sydx);
    }
}
